package com.fount4j.generator.info;

import java.util.ArrayList;
import java.util.List;

/**
 * 解析的数据库表实体类
 *
 * @author Morven 2016/12/20
 */
public class TableInfo {
    /** 数据库表名 */
    private String realName;
    /** 数据库表注释 */
    private String remarks;
    /** 数据库表中的列 */
    private List<ColumnInfo> columns = new ArrayList<>();
    /** 表的主键 */
    private List<ColumnInfo> primaryKeyColumns = new ArrayList<>();

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public List<ColumnInfo> getColumns() {
        return columns;
    }

    public void setColumns(List<ColumnInfo> columns) {
        this.columns = columns;
    }

    public List<ColumnInfo> getPrimaryKeyColumns() {
        return primaryKeyColumns;
    }

    public void setPrimaryKeyColumns(List<ColumnInfo> primaryKeyColumns) {
        this.primaryKeyColumns = primaryKeyColumns;
    }
}
